package com.xteam.xnetworkdisk.sys.dao;

import com.xteam.xnetworkdisk.sys.entity.FileShareRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author xiaozhiyong
 * @email xiaozhiyong03@gmail.com
 * @date 2024-08-12 08:54:17
 */
@Mapper
public interface FileShareRelationDao extends BaseMapper<FileShareRelationEntity> {

    void batchInsert(List<FileShareRelationEntity> fileShareRelationEntityList);

    void deleteBatchByShareIds(List<Integer> shareIds);

    int insertFileShareRelation(@Param("fileShareRelation") FileShareRelationEntity fileShareRelationEntity);

}
